package pt.compflow.storage;

import java.util.Properties;

public class SDBTripleStoreConnectionFactory implements TripleStoreConnectionFactory {

	protected Properties config;
	
	public SDBTripleStoreConnectionFactory() {
	}
	
	public SDBTripleStoreConnectionFactory(Properties config) {
		this.config = config;
	}

	@Override
	public TripleStoreConnection getTripleStoreConnection() {
		return config == null ? new SDBTripleStoreConnection() : new SDBTripleStoreConnection(config);
	}
	
}
